org.mobicents.servlet.sip.core.session
Class SipSessionSecurity

java.lang.Object
  extended by org.mobicents.servlet.sip.core.session.SipSessionSecurity

public class SipSessionSecurity
extends java.lang.Object

Added to cache the credentials and store the nextnonce for Issue 2173 http://code.google.com/p/mobicents/issues/detail?id=2173 Handle Header [Authentication-Info: nextnonce="xyz"] in sip authorization responses

Author:
jean.deruelle@gmail.com

Constructor Summary
SipSessionSecurity()
           
 
Method Summary
 void addCachedAuthInfo(java.lang.String realm, AuthInfoEntry authInfoEntry)
           
 java.util.concurrent.ConcurrentHashMap<java.lang.String,AuthInfoEntry> getCachedAuthInfos()
           
 java.lang.String getNextNonce()
           
 void removeCachedAuthInfo(java.lang.String realm)
           
 void setNextNonce(java.lang.String nextNonce)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SipSessionSecurity

public SipSessionSecurity()
Method Detail

removeCachedAuthInfo

public void removeCachedAuthInfo(java.lang.String realm)

addCachedAuthInfo

public void addCachedAuthInfo(java.lang.String realm,
                              AuthInfoEntry authInfoEntry)

getCachedAuthInfos

public java.util.concurrent.ConcurrentHashMap<java.lang.String,AuthInfoEntry> getCachedAuthInfos()
Returns:
the cachedAuthInfos

setNextNonce

public void setNextNonce(java.lang.String nextNonce)
Parameters:
nextNonce - the nextNonce to set

getNextNonce

public java.lang.String getNextNonce()
Returns:
the nextNonce


Copyright © 2011. All Rights Reserved.