code: private boolean checkSessionIdIsRightLength( String sessionIdOnly )
    {
        boolean correctLength = true;
        boolean forceSessionIdLengthCheck = _smc.getForceSessionIdLengthCheck();
  
        if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINE)) {
            LoggingUtil.SESSION_LOGGER_CORE.entering(methodClassName, methodNames[CHECK_SESSSIONID_IS_RIGHT_LENGTH], sessionIdOnly );
        }
            
        if ( (sessionIdOnly == null) || (! forceSessionIdLengthCheck) )
        {
            if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINE)) {
                LoggingUtil.SESSION_LOGGER_CORE.exiting(methodClassName, methodNames[CHECK_SESSSIONID_IS_RIGHT_LENGTH], "no check" );
            }
            return true;
        }
  
        // 1. The session id length matches exactly the expected length.
        if ( sessionIdOnly.length() != SessionManagerConfig.getSessionIDLength() )
        {
            String msg = " Incoming id " + sessionIdOnly + " (" + sessionIdOnly.length() + ")" + 
                         " failed length check against " + SessionManagerConfig.getSessionIDLength();
            LoggingUtil.SESSION_LOGGER_CORE.logp
                ( Level.WARNING, methodClassName, methodNames[CHECK_SESSSIONID_IS_RIGHT_LENGTH], 
                  "CommonMessage.miscData" , msg );
            correctLength = false;
        }
        
        if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINE)) {
            LoggingUtil.SESSION_LOGGER_CORE.exiting( methodClassName, methodNames[CHECK_SESSSIONID_IS_RIGHT_LENGTH], correctLength );
        }
  
        return correctLength;
        
    }
docs: custom property